package com.smarthospital.service;

import javax.websocket.Session;
import java.util.concurrent.CopyOnWriteArraySet;

public interface IMMessageService {

    void onOpen(CopyOnWriteArraySet<Session> sessions, Session session, String orderId);

    void onMessage(String orderId,CopyOnWriteArraySet<Session> sessions, Session session, String message);
}
